package com.lhuc.service.iml;

import com.lhuc.constant.Constants;
import com.lhuc.service.GrantTypeService;
import org.springframework.stereotype.Service;

/**
 * @author lhucstart
 * @create 2022-01-21 22:46
 */
@Service
public class GrantTypeServiceIml implements GrantTypeService {

    @Override
    public String redPaper(String resourceId) {
        //红包的发放方式
        return Constants.WEEKEND;
    }

    @Override
    public String shopping(String resourceId) {
        //购物券的发放方式
        return Constants.WEDNESDAY;
    }

    @Override
    public String QQVip(String resourceId) {
        //qq会员的发放方式
        return Constants.MONDAY;
    }
}
